package com.dp.appi.service;

import java.util.List;
import java.util.Map;

/**
 * Created by bchen on 2016/5/23.
 */
public interface ProjectStatisticsService {
    /**
     * 个人项目进度统计
     * @return
     */
    List<Map<String,Object>> scheduleCount(String username);


    /**
     * 阶段线路杆塔明细
     * @param voltageGrade
     * @param stageId
     * @return
     */
    List<Map<String,Object>> poleSum(String voltageGrade, Long stageId,String id);

    /**
     *  阶段台区材料统计
     * @param explor_id
     * @return
     */
    List<Map<String,Object>> materialSum(Long stage_id,Integer classify, Long explor_id,String exploration_type);

    /**
     * 阶段用电户
     * @param stage_id
     * @return
     */
    List<Map<String,Object>>  userPoint(Long stage_id,String id);

    /**
     * 项目设计阶段统计
     * @param id
     * @return
     */
    Map<String, Object> projectSum(Map<String, String> param,String id,Object org_id);

    /**
     * 项目按字段统计
     * @param param
     * @param id
     */
    List<Map<String,Object>>  fieldSum(Map<String, String> param, String id,Object org_id);

    /**
     * 交叉跨越描述
     * @param explorId
     * @return
     */
    String describe(Long stage_id,Integer classify,Long explorId,String exploration_type);

    /**
     * 交叉跨越列表
     * @param explorId
     * @return
     */
    List<Map<String,Object>> corssList(Long stage_id,Integer classify,Long explor_id,String exploration_type);

    /**
     * 阶段交叉跨越
     * @param stage_id
     * @return
     */
    Map<String, ?> pointSum(Long stage_id,String id,Long explor_id);

    /**
     * 项目阶段台区统计
     * @param explor_id
     * @param id
     * @return
     */
    Map<String, ?> explorSum(Long explor_id);
}
